home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Caml Light 0.61 / Source / src / lib / Makefile < prev    next >
Encoding:
Makefile  |  1993-08-31  |  4.1 KB  |  189 lines  |  [TEXT/MPS ]

  1. # The standard library
  2.  
  3. CAMLCOMP=::camlrun ::camlcomp
  4. CAMLLIBR=::camlrun ::camllibr
  5. COMPFLAGS=-stdlib : -O none
  6.  
  7. # The list of all interfaces. Order is irrelevant.
  8.  
  9. STD_INTF= arg.zi bool.zi char.zi string.zi vect.zi eq.zi exc.zi ∂
  10.     fchar.zi filename.zi float.zi fstring.zi fvect.zi hashtbl.zi ∂
  11.     int.zi io.zi lexing.zi list.zi obj.zi pair.zi parsing.zi printexc.zi ∂
  12.     ref.zi sort.zi sys.zi printf.zi stream.zi stack.zi queue.zi random.zi ∂
  13.     genlex.zi baltree.zi set.zi map.zi graphics.zi
  14.  
  15. # The list of all implementations. In dependency order.
  16.  
  17. STD_IMPL= eq.zo exc.zo int.zo float.zo fstring.zo string.zo fchar.zo ∂
  18.     char.zo list.zo fvect.zo vect.zo io.zo list.zo pair.zo arg.zo ∂
  19.     filename.zo hashtbl.zo lexing.zo parsing.zo printexc.zo sort.zo ∂
  20.     printf.zo stream.zo stack.zo queue.zo random.zo genlex.zo ∂
  21.     baltree.zo set.zo map.zo graphics.zo
  22.  
  23. all ƒ {STD_INTF} stdlib.zo
  24.  
  25. stdlib.zo ƒ {STD_IMPL}
  26.     {CAMLLIBR} -o stdlib.zo {STD_IMPL}
  27.  
  28. clean ƒ
  29.     Delete -i ≈.z[io] || ;
  30.  
  31. scratch ƒ clean
  32.     Delete -i filename.ml vect.ml string.ml genlex.ml
  33.     Delete -i Makefile.BAK
  34.  
  35. install ƒ
  36.     Duplicate -y stdlib.zo {STD_INTF} "{LIBDIR}"
  37.  
  38. .zi ƒ .mli
  39.     {CAMLCOMP} {COMPFLAGS} {Default}.mli
  40. .zo ƒ .ml
  41.     {CAMLCOMP} {COMPFLAGS} {Default}.ml
  42. .ml ƒ .mlp
  43.     C -e2 {Default}.mlp | StreamEdit -e '/•#line/ Delete' > {Default}.ml
  44.  
  45. depend ƒ filename.ml vect.ml string.ml
  46.     Duplicate -y Makefile Makefile.BAK
  47.     Open Makefile; Find • Makefile
  48.     Clear /•### DO NOT DELETE THIS LINE∂n/Δ:∞ Makefile
  49.     Close -y Makefile
  50.     ::tools:MakeDepend -Caml ≈.mli ≈.ml >>Makefile
  51.  
  52. ### EVERYTHING THAT GOES BEYOND THIS COMMENT IS GENERATED
  53. ### DO NOT DELETE THIS LINE
  54. genlex.zi ƒ stream.zi
  55. io.zi ƒ sys.zi
  56. iparsing.zi ƒ obj.zi
  57. iparsing.zi ƒ parsing.zi
  58. lexing.zi ƒ io.zi
  59. lexing.zi ƒ obj.zi
  60. parsing.zi ƒ lexing.zi
  61. parsing.zi ƒ obj.zi
  62. printf.zi ƒ io.zi
  63. stream.zi ƒ io.zi
  64. arg.zo ƒ arg.zi
  65. arg.zo ƒ eq.zi
  66. arg.zo ƒ exc.zi
  67. arg.zo ƒ fchar.zi
  68. arg.zo ƒ float.zi
  69. arg.zo ƒ fstring.zi
  70. arg.zo ƒ fvect.zi
  71. arg.zo ƒ int.zi
  72. arg.zo ƒ io.zi
  73. arg.zo ƒ list.zi
  74. arg.zo ƒ sys.zi
  75. baltree.zo ƒ baltree.zi
  76. baltree.zo ƒ eq.zi
  77. baltree.zo ƒ exc.zi
  78. baltree.zo ƒ int.zi
  79. char.zo ƒ char.zi
  80. char.zo ƒ exc.zi
  81. char.zo ƒ fchar.zi
  82. char.zo ƒ int.zi
  83. eq.zo ƒ eq.zi
  84. eq.zo ƒ bool.zi
  85. exc.zo ƒ exc.zi
  86. fchar.zo ƒ fchar.zi
  87. fchar.zo ƒ fstring.zi
  88. fchar.zo ƒ int.zi
  89. filename.zo ƒ filename.zi
  90. float.zo ƒ float.zi
  91. fstring.zo ƒ fstring.zi
  92. fstring.zo ƒ eq.zi
  93. fstring.zo ƒ fchar.zi
  94. fstring.zo ƒ int.zi
  95. fstring.zo ƒ ref.zi
  96. fvect.zo ƒ fvect.zi
  97. fvect.zo ƒ eq.zi
  98. fvect.zo ƒ int.zi
  99. fvect.zo ƒ list.zi
  100. graphics.zo ƒ graphics.zi
  101. hashtbl.zo ƒ hashtbl.zi
  102. hashtbl.zo ƒ eq.zi
  103. hashtbl.zo ƒ exc.zi
  104. hashtbl.zo ƒ fvect.zi
  105. hashtbl.zo ƒ int.zi
  106. hashtbl.zo ƒ ref.zi
  107. int.zo ƒ int.zi
  108. io.zo ƒ io.zi
  109. io.zo ƒ eq.zi
  110. io.zo ƒ exc.zi
  111. io.zo ƒ float.zi
  112. io.zo ƒ fstring.zi
  113. io.zo ƒ int.zi
  114. io.zo ƒ ref.zi
  115. io.zo ƒ sys.zi
  116. lexing.zo ƒ lexing.zi
  117. lexing.zo ƒ exc.zi
  118. lexing.zo ƒ fstring.zi
  119. lexing.zo ƒ int.zi
  120. lexing.zo ƒ io.zi
  121. lexing.zo ƒ obj.zi
  122. lexing.zo ƒ ref.zi
  123. list.zo ƒ list.zi
  124. list.zo ƒ eq.zi
  125. list.zo ƒ exc.zi
  126. list.zo ƒ int.zi
  127. map.zo ƒ map.zi
  128. map.zo ƒ baltree.zi
  129. map.zo ƒ eq.zi
  130. map.zo ƒ int.zi
  131. map.zo ƒ list.zi
  132. pair.zo ƒ pair.zi
  133. pair.zo ƒ exc.zi
  134. parsing.zo ƒ parsing.zi
  135. parsing.zo ƒ eq.zi
  136. parsing.zo ƒ exc.zi
  137. parsing.zo ƒ fvect.zi
  138. parsing.zo ƒ int.zi
  139. parsing.zo ƒ iparsing.zi
  140. parsing.zo ƒ lexing.zi
  141. parsing.zo ƒ obj.zi
  142. printexc.zo ƒ printexc.zi
  143. printexc.zo ƒ eq.zi
  144. printexc.zo ƒ exc.zi
  145. printexc.zo ƒ fvect.zi
  146. printexc.zo ƒ int.zi
  147. printexc.zo ƒ io.zi
  148. printexc.zo ƒ obj.zi
  149. printexc.zo ƒ sys.zi
  150. printf.zo ƒ printf.zi
  151. printf.zo ƒ bool.zi
  152. printf.zo ƒ eq.zi
  153. printf.zo ƒ exc.zi
  154. printf.zo ƒ fchar.zi
  155. printf.zo ƒ float.zi
  156. printf.zo ƒ fstring.zi
  157. printf.zo ƒ int.zi
  158. printf.zo ƒ io.zi
  159. printf.zo ƒ obj.zi
  160. queue.zo ƒ queue.zi
  161. queue.zo ƒ exc.zi
  162. queue.zo ƒ int.zi
  163. queue.zo ƒ ref.zi
  164. random.zo ƒ random.zi
  165. random.zo ƒ eq.zi
  166. random.zo ƒ float.zi
  167. random.zo ƒ fvect.zi
  168. random.zo ƒ int.zi
  169. random.zo ƒ ref.zi
  170. set.zo ƒ set.zi
  171. set.zo ƒ baltree.zi
  172. set.zo ƒ eq.zi
  173. set.zo ƒ int.zi
  174. sort.zo ƒ sort.zi
  175. stack.zo ƒ stack.zi
  176. stack.zo ƒ exc.zi
  177. stack.zo ƒ list.zi
  178. stream.zo ƒ stream.zi
  179. stream.zo ƒ exc.zi
  180. stream.zo ƒ fstring.zi
  181. stream.zo ƒ int.zi
  182. stream.zo ƒ io.zi
  183. stream.zo ƒ obj.zi
  184. stream.zo ƒ ref.zi
  185. string.zo ƒ string.zi
  186. string.zo ƒ fstring.zi
  187. vect.zo ƒ vect.zi
  188. vect.zo ƒ fvect.zi
  189.